package com.xuecheng.auth.service;

import com.xuecheng.ucenter.model.po.XcUser;

import java.util.Map;

public interface WxAuthService {
    /***
     * 微信扫码认证
     * @param code 微信的授权码
     * @return com.xuecheng.ucenter.model.po.XcUser
     * @author Tang
     * @date 2024/1/11 21:57:22
     */
    XcUser wxAuth(String code);

    XcUser userInfoToDataBase(Map<String, String> userInfo);
}
